package org.wanho.rent.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 新闻
 * <一句话功能简述>
 *  

 * @version  [V1.00, 1-30]
 * @see  [相关类/方法]
 * @since V1.00
 */
public class News implements Serializable{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -8164777182642708656L;

	private Integer id;
	
	private String newTitle;
	
	private String newContent;
	
	private Date createTime;
	
	private String imageUrl;

	public News() {
	}

	public News(Integer id, String newTitle, String newContent,Date createTime, String imageUrl) {
		this.id = id;
		this.newTitle = newTitle;
		this.newContent = newContent;
		this.createTime = createTime;
		this.imageUrl = imageUrl;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNewTitle() {
		return newTitle;
	}

	public void setNewTitle(String newTitle) {
		this.newTitle = newTitle;
	}

	public String getNewContent() {
		return newContent;
	}

	public void setNewContent(String newContent) {
		this.newContent = newContent;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	@Override
	public String toString() {
		return "News [createTime=" + createTime + ", id=" + id + ", imageUrl="
				+ imageUrl + ", newContent=" + newContent + ", newTitle="
				+ newTitle + "]\n";
	}
	
}
